name_list=["张三", "李四", "王五", "王小二", "张三"]

# len 统计列表长度
list_len=len(name_list)
print(f"列表中包含 {list_len} 个元素")

count=name_list.count("张三")
print(f"张三出现次数{count}")

